<?php

namespace think\wework\Crypt;

/**
 * 错误码定义
 */
class ErrorCode
{
    public static int $OK = 0;
    public static int $ValidateSignatureError = -40001; //签名验证错误
    public static int $ParseXmlError = -40002; //xml解析失败
    public static int $ComputeSignatureError = -40003; //sha加密生成签名失败
    public static int $IllegalAesKey = -40004; //encodingAesKey非法
    public static int $ValidateCorpidError = -40005; //corpid校验错误
    public static int $EncryptAESError = -40006; //aes加密失败
    public static int $DecryptAESError = -40007; //aes解密失败
    public static int $IllegalBuffer = -40008; //解密后得到的buffer非法
    public static int $EncodeBase64Error = -40009; //base64加密失败
    public static int $DecodeBase64Error = -40010; //base64解密失败
    public static int $GenReturnXmlError = -40011; //生成xml失败
}
